package widget;

import java.util.Random;

import android.graphics.Bitmap;
import android.graphics.Canvas;

public class UnLockShape {

	private int cx;
	private int cy;
	public static final int SHAPE_SIZE = 100;
	Random rnd = new Random();

	public UnLockShape() {
		cx = rnd.nextInt(UnLockView.VIEW_W) + 40;
		cy = rnd.nextInt(UnLockView.VIEW_H) + 50;
	}

	public UnLockShape(int x, int y) {
		cx = x;
		cy = y;
	}

	public void display(Canvas c, Bitmap bitmap) {

		c.drawBitmap(bitmap, cx - (SHAPE_SIZE / 2), cy - (SHAPE_SIZE / 2), null);

	}

};